<?php
/**
 * @Name: UserIDRequest.php
 * @Author: yashuai
 */

namespace App\Http\Requests\Rbac;

use App\Http\Requests\PackingRequest;

class UserIDRequest extends PackingRequest
{

    public function rules()
    {
        return [
            'UserID'   => 'required|integer',
        ];
    }

    public function messages()
    {
        return [
            'UserID.required'    => '缺少记录ID参数',
            'UserID.integer'     => '记录ID参数类型异常',
        ];
    }

}
